package com.bytedance.retrofit2;

import com.bytedance.retrofit2.client.Header;

import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

public interface Converter<F, T> {
    abstract class Factory {
        public Factory() {
        }
        public Converter<DefaultCallAdapterFactory, ?> a(Type arg2) {
            return null;
        }

        public Converter<?, Object> responseBodyConverter(Type type, Annotation[] annotations) {
            return null;
        }

        public Converter<?, String> findToStringConverter(Type arg2) {
            return null;
        }

        public Converter<?, Header> c(Type arg2) {
            return null;
        }

        public Converter d(Type arg2) {
            return null;
        }
    }

    T convert(F value) throws IOException;
}

